import homesite

VERSION = (1, 2, 1)

def get_version():
    "Returns the version as a human-format string."
    v = '.'.join([str(i) for i in VERSION])
    from django.utils.version import get_svn_revision
    v = '%s-%s' % (v, get_svn_revision(homesite.__path__[0]).split("-")[1])
    return v